<template>
  <div class="page-container" style="width:99%;margin-top:15px;">

   
  <el-row :gutter="20">
    <el-col :span="24">

    </el-col>
    
  </el-row>

 <my-table :data="detailList" :loading="loading" v-if=false >
          <el-table-column :label="$t('action.desc')" width="50" fixed="left"  header-align="center" align="center">
            <template slot-scope="scope">   {{scope.$index+1}}   </template>
          </el-table-column> 
     
          <Column   prop="bName" label="编号"  />
          <Column  prop="barCode" label="设备码"    />
          <Column  prop="rLocId" label="位置"     />
          <Column prop="changeTime" label="时间"     />
        
      </my-table>
     
  
  </div>
</template>

<script>
	import Column from "@/views/Core/Column"
  import MyTable from "@/views/Core/MyTable"
  export default {
    components: {
      Column,MyTable
    },
   data() {
      return {
        loading:false,
        detailList: []
      }
    },
    methods :{
    } ,
     mounted() {
    
    this.$api.login.indexData().then((res) => {
          this.detailList = res.data
        }) 
    },
  }
</script>

<style>
  .el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    padding:30px;
    border-radius: 4px;
    min-height: 16px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>